const express = require('express')
// 创建路由对象
const router = express.Router()

//导入用户路由处理函数对应的模块
const user_handler = require('../router_headler/user')
//分页
router.get('/fe', user_handler.fe)
router.get('/foodsfe', user_handler.foodsfe)
router.get('/selectFood', user_handler.selectFood)
router.get('/addFood', user_handler.addFood)
router.get('/updateFood', user_handler.updateFood)
router.get('/messagefe', user_handler.messagefe)
router.get('/del', user_handler.del)
router.get('/updateNum', user_handler.updateNum)
router.get('/addGoods', user_handler.addGoods)
// router.post('/uploadGoodImg', user_handler.uploadGoodImg)
// 将路由对象共享出去
module.exports = router